package com.khoayang.littlefighterchaos.game;

import org.cocos2d.layers.CCScene;

import android.content.Context;

public class GameScene extends CCScene{
	static BackgoundGame _backgroundGame;
	
	public GameScene(Context context){
		super();
		
		_backgroundGame =  new BackgoundGame();
		addChild(_backgroundGame,0);
		
		GameLayer gameLayer = new GameLayer(context);
		GamePad gamePad = new GamePad(context);
		gamePad.addObserver(gameLayer);
		
		addChild(gameLayer, 5);
		addChild(gamePad, 10);
	}	
}
